package com.stylefeng.guns.modular.ipmng.service;

import org.springframework.cache.annotation.Cacheable;

import com.stylefeng.guns.common.constant.cache.Cache;

/**
 * IP白名单管理Service
 *
 * @author xiongyao
 * @Date 2017-11-15 10:08:12
 */
public interface IIpWhiteListService {

	@Cacheable(value = Cache.ALLOWEDIP, key = "#clientIp")
	public boolean isAllowed(String clientIp);
}
